package cn.xiaopengstack.types.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @author jiangyangang
 */

@AllArgsConstructor
@NoArgsConstructor
@Getter
public enum ResponseCode {

    SUCCESS("0000", "成功"),
    UN_ERROR("0001", "未知失败"),
    ILLEGAL_PARAMETER("0002", "非法参数"),
    NOT_LOGIN("0003", "当前未登录"),
    CREATE_ORDER_FAIL("0004", "创建订单失败"),
    CREATE_PAY_FAIL("0005", "创建支付失败"),
    ANALYSIS_PAY_RESULT_FAIL("0006", "解析支付结果失败"),
    ;

    private String code;
    private String info;

}
